package ch.fhnw.qualiscan.core.db.pojos;

import java.io.Serializable;

/**
 * This pojo holds the information about confidence of the user of a domain. It is used by hibernate to get data out of the database.
 * @author Kevin Mettenberger
 *
 */

@SuppressWarnings("serial")
public class Confidence implements Serializable{
	
	private int id;
	private User user;
	private Domain domain;
	private Survey survey;
	private int confidence;
	private SurveyUserRole sur;
	
	public Confidence() {
		
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Domain getDomain() {
		return domain;
	}
	public void setDomain(Domain domain) {
		this.domain = domain;
	}
	public Survey getSurvey() {
		return survey;
	}
	public void setSurvey(Survey survey) {
		this.survey = survey;
	}
	public int getConfidence() {
		return confidence;
	}
	public void setConfidence(int confidence) {
		this.confidence = confidence;
	}

	public SurveyUserRole getSur() {
		return sur;
	}

	public void setSur(SurveyUserRole sur) {
		this.sur = sur;
	}
	

}
